home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / disk / zerofile.zip / ZEROFILE.TXT < prev   
Text File  |  1993-06-16  |  2KB  |  41 lines

  1. Zerofile - by P. Below, 1993, Freeware
  2. - Search a directory for files of zero length - 
  3.  
  4. Usage: zerofile [pathname] [/S] [/Q] [/?]
  5.  
  6. pathname is either the name of a directory or a filespec. If the latter,
  7. the filename part may contain wildcards. If pathname is omitted, zerofile
  8. will search the current drive.
  9.  
  10. Switches:
  11.   /S : search recursively through all subdirectories, if pathname is
  12.        a directory.
  13.   /Q : quiet, do not display anything on screen.
  14.   /? or any other switch will yield this information.
  15.  
  16. Zerofile will return errorlevel 1 if a file with zero length is found,
  17. errorlevel 255 if it gets an invalid pathname and 0 otherwise.
  18.  
  19. Case and the sequence of switches and pathname is not relevant.
  20.  
  21. If the /Q switch is not given, zerofile will display a banner message and
  22. also the full pathname of any file with zero size found. If an invalid path
  23. is given, an error message is displayed. If no files with zero bytes are
  24. found, a corresponding message is given at the end of the run.
  25.  
  26. Zerofile sends output to the console, thus, it can be redirected to a file.
  27.  
  28. Examples:
  29.  
  30.   zerofile d:\ /S          recursively search all directories on drive d:
  31.  
  32.   zerofile c:\backup /Q    search only directory c.\backup, don't display
  33.                            banner and found files etc.
  34.  
  35. Zerofile is written in TopSpeed Module-2. It comes with no warranties
  36. whatsoever. While the author cannot envision any set of circumstances where
  37. Zerofile could do any harm to your PC & software, he will also not be held
  38. responsible for any damage incurred by the use of this program.
  39.  
  40. Author: Peter Below   CIS: 100113.1101
  41.